<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@ taglib uri="http://java.sun.com/jstl/core_rt" prefix="c" %>
<%@page import="org.corp.agi.web.constant.WebConstant"%>
<%@page import="th.co.mfec.agi.service.bean.UserBean"%>
<%@ include file="/mca/templates/templateConstants.jsp"%>
<%
	UserBean user = (UserBean)request.getSession(false).getAttribute(WebConstant.SESSION_USERBEAN_KEY);
	pageContext.setAttribute("userRequest", user);
%>


<%@page import="th.co.mfec.agi.support.env.Environment"%>
<%@page import="th.co.mfec.mca.common.CommonUtil"%>
<%@page import="java.util.Date"%>
<%@page import="th.co.mfec.agi.common.util.BeanContextFactory"%><div id="header">
<table border="0" align="right" cellpadding="0" cellspacing="0">
	<tr>
		<td colspan="4"><strong>Welcome ${pageScope.userRequest.username}!</strong></td>
	</tr>
	<tr>
		<td>&nbsp;
		</td>
		<td id="userAccount">${pageScope.userRequest.firstName} ${pageScope.userRequest.lastName}</td>
		<td id="timeStamp"><%=new java.util.Date()%></td>
		<td id="logout"><a href="${requestScope.appBase}/accesscontrol/logout.htm">Logout</a></td>
	</tr>
</table>
</div>